/*
 * @Descripttion: 给项目目录起别名
 * @version: 
 * @Author: 侯勇
 * @Date: 2022-10-22 17:44:54
 * @LastEditors: 侯勇
 * @LastEditTime: 2022-10-27 22:01:30
 */
/* 添加相关配置 */

// 路径拼接
const path = require("path")
const resolves = dir => path.resolve(__dirname, dir);

module.exports = {
    webpack: {
        // 别名
        alias: {
            "@": resolves("src"),
            "components": resolves("src/components")
        },

    }
}